<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>后台管理系统单页面管理</title>
<link href="/zglt/Public/css/base.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="/zglt/Public/css/common.css" type="text/css" media="screen" />
<link href="/zglt/Public/css/icons.css" rel="stylesheet" type="text/css">

</head>
<body>
<div class="common_title">
<span>单页面管理</span>
</div>
<div class="divContent">



<div class="formTable">
  <div class="formAdd"> <a class="butbase" href="/zglt/index.php/Admin/Artype/addpage/cate/3"><span class="icon-add">添加</span></a> </div>
  <table width="99%" border="0" cellpadding="0" cellspacing="0" class="tableClass">
    <tbody>
      <tr class="alt">
        <th width="3%" nowrap="nowrap"> 序号 </th>
        <th width="100" nowrap="nowrap">单页名称</th>
        <th width="100" nowrap="nowrap">开启状态</th>
        <th width="240" nowrap="nowrap" >排序</th>
        <th width="240" nowrap="nowrap">操作</th>
        
      </tr>
      <?php if(is_array($show)): $i = 0; $__LIST__ = $show;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><tr class="">
          <td align="center" nowrap="nowrap"><?php echo ($v["id"]); ?> </td>
          <td align="center"><?php echo ($v["artype_name"]); ?></td>
          <td align="center">
          	<?php if($v["status"] == 1): ?>显示
            <?php else: ?>隐藏<?php endif; ?>
        </td>
        
        <td align="center"><?php echo ($v["order_id"]); ?></td>
		  <td align="center" nowrap="nowrap"> 
          		<a class="butbase"  href="/zglt/index.php/Admin/Artype/updatepage/id/<?php echo ($v["id"]); ?>"><span class="icon-edit"> 修改</span></a>　　
          		<a  class="butbase" href="/zglt/index.php/Admin/Artype/delete/id/<?php echo ($v["id"]); ?>" onClick="return confirm('确定删除?');">
                <span class="icon-remove">删除</span></a>
          </td>    
        </tr><?php endforeach; endif; else: echo "" ;endif; ?>
    </tbody>
  </table>
</div>
</div>

</body>
</html>